<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    function formatData(list) {
      const data = [
        {
          入职日期: 44505,
          姓名: "小张",
          工号: "9002",
          手机号: "13800000252",
          转正日期: 44892,
          部门: "总裁办"
        },
        {
          入职日期: 44506,
          姓名: "小李",
          工号: 9006,
          手机号: "13810000512",
          转正日期: 44893,
          部门: "总裁办",
        }]
      // 存储表头
      let header = []

    }
  </script>
</body>

</html>